package com.jiyun.entity.day01;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/*
 * 作者：LiuHaoyang
 * 时间：2023/8/22 11:36
 * 描述：
 **/
@Data
@ToString
@TableName("memberr")
public class Memberr implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String img;
    private String name;
    private String workNo;
    private String sex;
    private String qm;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date createTime;
    private String status;
    private Integer rid;

    private Integer teammId;

    private String username;
    private String password;

}
